<?php if(count($this->rowset) > 0) : ?>
	<div class="simpleshop-basket">
		<h2>Warenkorb</h2>
		<table border="0" cellspacing="0" cellpadding="0" width="100%">
			<?php foreach($this->rowset AS $row): ?>
			<tr>
				<td><?php echo $row->getQuantity() ?></td>
				<td><?php echo $row->getArticleTitle() ?></td>
				<td class="price"><?php echo $this->formatPrice($row->getSubtotal()) ?> <?php echo $this->currency ?></td>
			</tr>
			<?php endforeach; ?>
			<?php if(!empty($this->shippingAndHandlingCosts)): ?>
			<tr>
				<td></td>
				<td>Versandkosten</td>
				<td class="price"><?php echo $this->formatPrice($this->shippingAndHandlingCosts) ?> <?php echo $this->currency ?></td>
			</tr>
			<?php endif; ?>
			<tr>
				<td></td>
				<td>Total</td>
				<td class="price"><?php echo $this->formatPrice($this->total) ?> <?php echo $this->currency ?></td>
			</tr>
		</table>
		<?php if(!empty($this->checkoutPageId)): ?>
			<p><a href="<?php echo $this->urlToPage($this->checkoutPageId) ?>">Einkauf abschliessen</p>
		<?php endif; ?>
	</div>
<?php endif; ?>